package cn.shengchao.examstar.product.acl.ports.repositories;

import cn.shengchao.examstar.product.infrastructure.dao.po.NodeKnowledgePoint;

import java.util.List;

public interface INodeKnowledgePointRepository {
    void edit(Long courseNodeId, List<Long> knowledgePointIds);

    List<NodeKnowledgePoint> getNodeKnowledgePoint(Long nodeId);
    
    /**
     * 根据知识点ID查询关联的课程节点
     *
     * @param knowledgePointId 知识点ID
     * @return 课程节点知识点关联列表
     */
    List<NodeKnowledgePoint> getNodeKnowledgePointByKnowledgePointId(Long knowledgePointId);
}
